<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>test_database_connection (TestCsvToTable)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File test_scripts/test_table_to_csv.rb, line 6</span>
        <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_database_connection</span>
                <span class="ruby-identifier">some_obj</span> = <span class="ruby-constant">CsvToTable</span>.<span class="ruby-identifier">new</span> 
                <span class="ruby-comment cmt">#new_conn = some_obj.get_database_connection(&quot;summer_development&quot;)</span>
                <span class="ruby-identifier">assert_equal</span>(<span class="ruby-identifier">new_conn</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">downcase</span>, <span class="ruby-value str">&quot;connection&quot;</span>)
        <span class="ruby-keyword kw">end</span></pre>
</body>
</html>